package com.lyh.notes.model.base;


import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper=true)
public class PaginationApiResponse<T> extends ApiResponse<T> {
    private final Pagination pagination;

    public PaginationApiResponse(int code, String message, T data, Pagination pagination) {
        super(code, message, data);
        this.pagination = pagination;
    }
}
